package com.zhku.shoppingspringboot.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author hwy
 * @date 2024-12-31 19:36
 * 合并购物车
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
@Builder
@ApiModel(value="MergeCartDTO", description="合并购物车")
public class MergeCartDTO implements Serializable {

    @ApiModelProperty("商品中的skuId")
    private Long skuId;

    @ApiModelProperty("商品选中状态")
    private Boolean selected;

    @ApiModelProperty("商品数量")
    private Integer count;

    private static final long serialVersionUID = 1L;
}
